Search results for "distribution:Plack Plack Middleware"
Plack::Middleware - Base class for easy-to-use PSGI middleware
Plack::Middleware is a utility base class to write PSGI middleware. All you have to do is to inherit from Plack::Middleware and then implement the callback "call" method (or the "to_app" method that would return the PSGI code reference) to do the act...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Head - auto delete response body in HEAD requests
This middleware deletes response body in HEAD requests....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Lint - Validate request and response
Plack::Middleware::Lint is a middleware component to validate request and response environment formats. You are strongly suggested to use this middleware when you develop a new framework adapter or a new PSGI web server that implements the PSGI inter...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specified
Plack::Middleware::JSONP wraps JSON response, which has Content-Type value either "text/javascript" or "application/json" as a JSONP response which is specified with the "callback" query parameter. The name of the parameter can be set while enabling ...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Static - serve static files with Plack
This middleware allows your Plack-based application to serve static files. Note that if you are building an app using Plack::App::URLMap, you should consider using Plack::App::File to serve static files instead. This makes the overall routing of your...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Chunked - Applies chunked encoding to the response body
Plack::Middleware::Chunked is a middleware, or rather a library for PSGI server to automatically add chunked encoding to the response body when Content-Length is not set in the response header....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Refresh - Refresh all modules in %INC
This is *yet another* approach to refresh modules in %INC during the development cycle, without the need to have a forking process to watch for filesystem updates. This middleware, in a request time, compares the last refresh time and the current tim...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Runtime - Sets an X-Runtime response header
Plack::Middleware::Runtime is a Plack middleware component that sets the application's response time (in seconds) in the *X-Runtime* HTTP response header....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Log4perl - Uses Log::Log4perl to configure logger
Log4perl is a Plack::Middleware component that allows you to use Log::Log4perl to configure the logging object "psgix.logger" for a given category....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::AccessLog - Logs requests like Apache's log format
Plack::Middleware::AccessLog forwards the request to the given app and logs request and response details to the logger callback. The format can be specified using Apache-like format strings (or "combined" or "common" for the default formats). If none...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Recursive - Allows PSGI apps to include or forward requests recursively
Plack::Middleware::Recursive allows PSGI applications to recursively include or forward requests to other paths. Applications can make use of callbacks stored in "$env->{'plack.recursive.include'}" to *include* another path to get the response (wheth...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::XSendfile - Sets X-Sendfile (or a like) header for frontends
When the body is a blessed reference with a "path" method, then the return value of that method is used to set the X-Sendfile header. The body is set to an empty list, and the Content-Length header is set to 0. If the X-Sendfile header is already set...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::StackTrace - Displays stack trace when your app dies
This middleware uses $SIG{__DIE__} to intercept *all* exceptions (run-time errors) happening in your application, even those that are caught. For each exception it builds a detailed stack trace. If the applications aborts by throwing an exception it ...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::NullLogger - Send logs to /dev/null
NullLogger is a middleware component that receives logs and does nothing but discarding them. Might be useful to shut up all the logs from frameworks in one shot....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::XFramework - Sample middleware to add X-Framework
This middleware adds "X-Framework" header to the HTTP response....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::ContentMD5 - Automatically sets the Content-MD5 header on all String bodies
Automatically sets the Content-MD5 header on all String bodies...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Auth::Basic - Simple basic authentication middleware
Plack::Middleware::Auth::Basic is a basic authentication handler for Plack....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::LogDispatch - Uses Log::Dispatch to configure logger
LogDispatch is a Plack::Middleware component that allows you to use Log::Dispatch to configure the logging object, "psgix.logger"....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::Conditional - Conditional wrapper for Plack middleware
Plack::Middleware::Conditional is a piece of meta-middleware, to run a specific middleware component under runtime conditions. The goal of this middleware is to avoid baking runtime configuration options in individual middleware components, and rathe...
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC
Plack::Middleware::SimpleLogger - Simple logger that prints to psgi.errors
SimpleLogger is a middleware component that formats the log message with information such as the time and PID and prints them to *psgi.errors* stream, which is mostly STDERR or server log output....
MIYAGAWA/Plack-1.0051 - 05 Jan 2024 23:11:02 UTC